{if $_G['basescript'] === 'home' && $_GET[ac]=='upload' || $_G['basescript'] === 'home' && $_GET[ac]=='blog'}

{/if}